import request from '@/utils/request'

// 水质监测上报 列表
const monitoringReportList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/getList`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 按钮状态
const buttonState = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/getButtonState`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 归档
const monitoringReportFiling = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/filing`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 上报
const reportMonitoringList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/report`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 回退
const backMonitoringList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/back`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 回退信息
const backMessage = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/backMessage`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 评价
const evaluationMonitoring = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/evaluation`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 评价信息
const evaluationMessage = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/evaluationMessage`,
    method: 'post',
    data: params,
  })
}

// 水质监测上报 - 填报保存
const fillInSave = function (params = {}) {
  return request({
    url: `/zy-api/api/waterPaper/add`,
    method: 'post',
    data: params,
  })
}

export {
  monitoringReportList,
  buttonState,
  fillInSave,
  monitoringReportFiling,
  reportMonitoringList,
  backMonitoringList,
  backMessage,
  evaluationMonitoring,
  evaluationMessage
}